﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="YWTSSys.Web.MachineSys.Default" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>业务提醒管理平台--芸宵名店</title>
<link href="themes/default/style.css" rel="stylesheet" type="text/css" />
<link href="themes/css/core.css" rel="stylesheet" type="text/css" />
<link href="uploadify/css/uploadify.css" rel="stylesheet" type="text/css" />
<link href="themes/css/jquery.autocomplete.css" rel="stylesheet" type="text/css" />
<link href="themes/css/ihiscecss.css" rel="stylesheet" type="text/css" />
<!--[if IE]>
<link href="themes/css/ieHack.css" rel="stylesheet" type="text/css" />
<![endif]-->
</head>

<body scroll="no">
	<div id="layout">
		<div id="header">
			<div class="headerNav">
                <div style=" float:left; line-height:50px; padding-left:10px; color:White; font-size:20px; font-weight:bold;">
                    业务提醒管理平台
                </div>
				
				<ul class="nav">
                    <li><a>当前用户:<%=User.RealName %></a></li>					
					<li><a href="SysBasic/OUser_EditPwd.aspx" rel="OUser_EditPwd" target="dialog" max=false  mask=true  maxable=false  minable=false  resizable=false drawable=true  width="520" height="250">修改密码</a></li>					
					<li><a href="login.aspx?ajaxmethod=loginout">退出</a></li>
				</ul>
				<ul class="themeList" id="themeList">
					<li theme="default"><div class="selected">蓝色</div></li>
					<li theme="green"><div>绿色</div></li>
					<!--<li theme="red"><div>红色</div></li>-->
					<li theme="purple"><div>紫色</div></li>
					<li theme="silver"><div>银色</div></li>
					<li theme="azure"><div>天蓝</div></li>
				</ul>
			</div>	
            <!--[if gte IE 8]>
            <div>
                <ul id="coolMenu">
		
			        <%=GetHMenu() %>
		        </ul>
            </div>	
            <![endif]-->
		</div>

		<div id="leftside">
			<div id="sidebar_s">
				<div class="collapse">
					<div class="toggleCollapse"><div></div></div>
                    <h2 style="padding-left:4px; padding-top:5px;">点击显示主菜单</h2>
				</div>
                
			</div>
			<div id="sidebar">
				<div class="toggleCollapse"><h2>主菜单</h2><div>收缩</div></div>

				<div class="accordion" fillSpace="sidebar">					
                    <%=GetMenu()%>
				</div>
               
			</div>
		</div>
		<div id="container">
			<div id="navTab" class="tabsPage">
				<div class="tabsPageHeader">
					<div class="tabsPageHeaderContent"><!-- 显示左右控制时添加 class="tabsPageHeaderMargin" -->
						<ul class="navTab-tab">
							<li tabid="main" class="main"><a href="javascript:;"><span><span class="home_icon">我的主页</span></span></a></li>
						</ul>
					</div>
					<div class="tabsLeft">left</div><!-- 禁用只需要添加一个样式 class="tabsLeft tabsLeftDisabled" -->
					<div class="tabsRight">right</div><!-- 禁用只需要添加一个样式 class="tabsRight tabsRightDisabled" -->
					<div class="tabsMore">more</div>
				</div>
				<ul class="tabsMoreList">
					<li><a href="javascript:;">我的主页</a></li>
				</ul>
				<div class="navTab-panel tabsPageContent layoutBox">
					<div class="page unitBox">
						<div class="accountInfo">                           
                            <div class="alertInfo UserMySetting">							
							   <h2><span>个性化设置</span>(刷新页面就可生效)</h2>
                               <p>
                                    <label><input type="checkbox" name="AutoHideMenu" value="checked" <%=GetMySettingValue("AutoHideMenu") %> /> 自动隐藏导航菜单</label>
                                    <label><input type="checkbox" name="AutoPoppingAlarm" value="checked" <%=GetMySettingValue("AutoPoppingAlarm") %>/> 自动弹出相关警报</label>
                                    <label>列表页默认显示记录数:<select name="MyNumPerPage"><%=SetnumPerPage(GetMySettingValue("MyNumPerPage"))%></select></label>
                                </p>          
                               
						    </div>                           
                            <p style=" margin-bottom:5px;"><span>欢迎进入业务提醒管理平台</span></p>	
                            <p> 您上次登陆时间为[<%=User.LastLogin.ToString("yyyy-MM-dd HH:mm") %>]</p>		
                        </div>
						<div class="pageFormContent" layoutH="80" >
						     <div style="margin:5px;" class="accordion">
		                       <%-- <div class="accordionHeader">
			                        <h2><span>icon</span>服务业务管理系统BUG修订记录</h2>
		                        </div>
		                        <div style="height:350px" class="accordionContent">
			                       <ul> 
                                        <li>2011.12.9</li>
                                        <li>1.修改代理商保养管制表功能,优化显示性能,新增保养后显示保养时间及保养小时数</li> 
                                         <li>2011.12.8</li>
                                        <li>1.新增代理商保养管制表功能,添加导出功能</li> 
                                         <li>2011.12.2</li>
                                        <li>1.修改代理商样机保养管纸表功能,新增修改信息的功能</li> 
                                        <li>2011.12.1</li>
                                        <li>1.修改索赔来往帐明细表中旧件返回,新增误判返回功能</li> 
                                         <li>2.修改列表默认显示时间的方式.</li> 
                                         <li>2011.11.30</li>
                                        <li>1.修改一个月回访统计表,加上合计行,并加上每个代理商的相关问题百分比</li> 
                                         <li>2011.11.27</li>
                                        <li>1.修改索赔来往帐明细表,修订当删除明细帐时,如果是供应商提供件的,无法在相应的库存表上补入库的BUG</li> 
                                        <li>2011.11.15</li>                                        
                                        <li>1.[修改]服务业务系统中所有需要输入代理商的方都用双击的方法</li>
                                        <li>2011.11.7</li>                                        
                                        <li>1.[修改]索赔管控表(服务部),新增责任归属初判及成本差异责任归属</li>      
                                        <li>2011.11.4</li>                                        
                                        <li>1.[修改]索赔管控表(服务部),新增导出功能,按供应商索赔统计功能</li>      
                                        <li>2011.10.30</li>                                        
                                        <li>1.[新增]索赔管控表(服务部)</li> 
                                        <li>2011.10.25</li>
                                        <li>1.[修改]更新保养警报,新增删除短信的功能.</li>                                        
                                        <li>2011.10.24</li>
                                        <li>1.[修改]将系统框架升级到1.3DWZ</li>
                                        <li>2.[修改]新增个性化设置,可自定义设置菜单,警报,及列表的显示方式</li>
                                        <li>3.[修改]修改页面显示方式,以满足屏幕为1024的用户使用.</li>
                                        <li>2011.10.21</li>
                                        <li>1.[新增]供应商提供件库存(杨继才)</li>
                                        <li>2.[修改]索赔来往帐,供应商提供件出库后,自动从供应商库存减掉</li>  
                                        <li>2011.10.20</li>
                                        <li>1.[修改]机器保养时间点配置.更新为保养短信提醒以上一次保养时间点为基准</li>
                                        <li>2.[修改]索赔来往帐.借件/供应商提供件添加后,后续从SAP做完帐时,本系统不会重复添加相应记录(以索赔单号,机号,物料号为唯一判定标准)</li> 
                                        <li>2011.10.13</li>
                                        <li>1.更新旧件索赔发货功能,当输入完配件号码后,自动从SAP系统读取相应的配件价格.</li> 
                                        <li>2011.10.12</li>
                                        <li>1.新增索赔分析报表,并可导出分析报表记录.</li>                                  
                                        <li>2011.10.11</li>
                                        <li>1.更新代理商列表,更改保修卡中代理商的地址时,将自动同步到代理商列表信息中.</li>
                                        <li>2.增加修改当保修卡交机日期时,自动修改保养提醒短信.删除保修卡时,自动删除代理商保养管制相关信息</li>                                       
                                        <li>2011.10.10</li>
                                        <li>1.更新用户来电不能查看及修改的错误</li>
                                        <li>2.更新代理商管制表费用显示问题,并优化保养操作,去除批量保养操作,改成单项单条操作.</li>
                                         <li>2011.10.9</li>
                                        <li>1.索赔汇总表,新增旧件还返提醒功能.</li>
                                   </ul>
		                        </div>
		                        <div class="accordionHeader">
			                        <h2><span>icon</span>生产管理系统BUG修订记录</h2>
		                        </div>
		                        <div style="height:350px" class="accordionContent">
			                        <ul> 
                                         <li>2011.12.14</li>
                                        <li>1.修改作业项目定义,添加或修改作业项目时,自动添加机器库存表的机号.方便信息录入</li> 
                                         <li>2011.12.9-12.10</li>
                                        <li>1.修改工时统计报表</li> 
                                        <li>2011.12.5-12.8</li>
                                        <li>1.新增制程检验记录</li> 
                                        <li>2011.11.30</li>
                                        <li>1.修改完成检查书,将防冻液混合率改成3选1,更改履带张力的容许范围为30~50</li> 
                                         <li>2011.11.25</li>
                                        <li>1.修改作业项目定义,新增完成情况列,以显示当前项目的完成情况</li> 
                                          <li>2011.11.24</li>
                                        <li>1.修改初加工管制票,新增管纸票扫描件上传功能</li> 
                                        <li>2011.11.07-2011.11.22</li>
                                        <li>1.开发物料管控系统</li>                                         
                                        <li>2011.11.22</li>
                                        <li>1.初加工管制票新增质量部判定功能</li>  
                                        <li>2.修正完成检查书录入，可录入检查人员</li>  
                                        <li>2011.11.21</li>
                                        <li>1.修正65完成检查书录入不能选择NG及OK项的问题</li>  
                                        <li>2011.11.04</li>
                                        <li>1.机器库存汇总表,下线未入库合计列改成实时数据</li>  
                                        <li>2011.10.25</li>
                                        <li>1.导入机器库存表,机器库存一览表从今日开始进入试运行</li>  
                                        <li>2011.10.20</li>
                                        <li>1.未完成[新增]机器制程管制表</li>  
                                        <li>2011.10.19</li>
                                        <li>1.[新增]工时统计报表.按月统计所有工作内容报表</li>  
                                        <li>2.[新增]工时统计报表.按项目统计直接工作内容报表</li>  
                                        <li>2011.10.18</li>
                                        <li>1.[修改]初加工物管制票,管制理由及管制机号变更符合实际要求.</li>
                                        <li>2.[新增/修改]完成检查书,新增打印功能,修改NG项目的记录过程.</li>
                                        <li>2011.10.17</li>
                                        <li>1.[修改]作业日报表管理,工位,作业内容,项目可自动完成功能,方便输入.</li>
                                        <li>2011.10.15</li>
                                        <li>1.[新增]质管部要求新增初加工物管制票,目的:方便查询物料的量初及试制起始机号.</li>
                                        <li>2.[修改]项目定义添加是否完成选项,以便在作业工时统计报表中显示(只显示标示为完成的项目).</li>
                                        <li>2011.10.14</li>
                                        <li>1.[修改]机器库存一览表,机型按选项卡方式显示,方便查询.</li> 
                                        <li>2.[新增]机器库存一览表,导出查询结果功能.</li> 
                                        <li>3.[新增]机器库存汇总报表,导出查询结果功能.</li> 
                                        <li>2011.10.13</li>
                                        <li>1.更新完检单修改功能,供后续修改责任工位及责任供应商使用.</li> 
                                        <li>2.更新项目定义,新增显示顺序功能,可自定义项目在报表的中显示顺序(按升序显示).</li> 
                                        <li>2011.10.12</li>
                                        <li>1.更新完检单导出功能,可导出完检单NG列表.</li>                                    
                                        <li>2011.10.11</li>
                                        <li>1.更新完检单录入格式,根据质管部实际要求,添加相应责任工位,责任供应商,以便报表统计.</li>
                                      
                                   </ul>
		                        </div>--%>
		                       
	                        </div>
						</div>						
						
					</div>
					
				</div>
			</div>
		</div>

		<div id="taskbar" style="left:0px; display:none;">
			<div class="taskbarContent">
				<ul></ul>
			</div>
			<div class="taskbarLeft taskbarLeftDisabled" style="display:none;">taskbarLeft</div>
			<div class="taskbarRight" style="display:none;">taskbarRight</div>
		</div>
		<div id="splitBar"></div>
		<div id="splitBarProxy"></div>
	</div>

	<div id="footer">
        Copyright &copy; 2012 <a href="http://www.xjodmp.com" target="_blank">芸宵名店</a>&nbsp;&nbsp;
        <span style="color:Fuchsia;">为了使您更好的使用本系统,请使用IE7以上浏览器访问本平台</span>
    </div>

<!--拖动效果-->
	<div class="resizable"></div>
<!--阴影-->
	<div class="shadow" style="width:508px; top:148px; left:296px;">
		<div class="shadow_h">
			<div class="shadow_h_l"></div>
			<div class="shadow_h_r"></div>
			<div class="shadow_h_c"></div>
		</div>
		<div class="shadow_c">
			<div class="shadow_c_l" style="height:296px;"></div>
			<div class="shadow_c_r" style="height:296px;"></div>
			<div class="shadow_c_c" style="height:296px;"></div>
		</div>
		<div class="shadow_f">
			<div class="shadow_f_l"></div>
			<div class="shadow_f_r"></div>
			<div class="shadow_f_c"></div>
		</div>
	</div>
	<!--遮盖屏幕-->
	<div id="alertBackground" class="alertBackground"></div>
	<div id="dialogBackground" class="dialogBackground"></div>

	<div id='background' class='background'></div>
	<div id='progressBar' class='progressBar'>
        数据加载中，请稍等...
        <div style="text-align:right; font-size:10px; color:Blue;">
            芸宵名店
        </div>
    </div>
    

<script src="js/jquery-1.4.4.min.js" type="text/javascript"></script>
<script src="js/dwz.core.js" type="text/javascript"></script>

  
    <script src="js/jquery.validate.js" type="text/javascript"></script>
    <script src="xheditor/xheditor-1.1.6-zh-cn.min.js" type="text/javascript"></script>
    <script src="uploadify/scripts/swfobject.js" type="text/javascript"></script>
    <script src="uploadify/scripts/jquery.uploadify.v2.1.0.js" type="text/javascript"></script>
    <script src="js/jquery.cookie.js" type="text/javascript"></script>    
    <script src="js/jquery.bgiframe.js" type="text/javascript"></script>
    <script src="js/jquery.inputValue.js" type="text/javascript"></script>
    <script src="js/jquery.insertAtCaret.js" type="text/javascript"></script>
    <script src="js/jquery.autocomplete.js" type="text/javascript"></script>
    <script src="js/jquery.upload-1.0.2.js" type="text/javascript"></script>
 
    <script src="js/dwz.util.date.js" type="text/javascript"></script>
    <script src="js/dwz.validate.method.js" type="text/javascript"></script>
    <script src="js/dwz.regional.zh.js" type="text/javascript"></script>
    <script src="js/dwz.barDrag.js" type="text/javascript"></script>
    <script src="js/dwz.drag.js" type="text/javascript"></script>
    <script src="js/dwz.tree.js" type="text/javascript"></script>
    <script src="js/dwz.accordion.js" type="text/javascript"></script>
    <script src="js/dwz.ui.js" type="text/javascript"></script>
    <script src="js/dwz.theme.js" type="text/javascript"></script>
    <script src="js/dwz.switchEnv.js" type="text/javascript"></script>
    <script src="js/dwz.alertMsg.js" type="text/javascript"></script>
    <script src="js/dwz.contextmenu.js" type="text/javascript"></script>
    <script src="js/dwz.navTab.js" type="text/javascript"></script>
    <script src="js/dwz.tab.js" type="text/javascript"></script>
    <script src="js/dwz.resize.js" type="text/javascript"></script>
    <script src="js/dwz.dialog.js" type="text/javascript"></script>
    <script src="js/dwz.dialogDrag.js" type="text/javascript"></script>
    <script src="js/dwz.cssTable.js" type="text/javascript"></script>
    <script src="js/dwz.stable.js" type="text/javascript"></script>
    <script src="js/dwz.taskBar.js" type="text/javascript"></script>
    <script src="js/dwz.ajax.js" type="text/javascript"></script>
    <script src="js/dwz.pagination.js" type="text/javascript"></script>
    <script src="js/dwz.database.js" type="text/javascript"></script>
    <script src="js/dwz.datepicker.js" type="text/javascript"></script>
    <script src="js/dwz.effects.js" type="text/javascript"></script>
    <script src="js/dwz.panel.js" type="text/javascript"></script>
    <script src="js/dwz.checkbox.js" type="text/javascript"></script>
    <script src="js/dwz.history.js" type="text/javascript"></script>
    <script src="js/dwz.combox.js" type="text/javascript"></script>
   
    <script src="js/dwz.plugin.exui.js" type="text/javascript"></script>
    <script src="js/dwz.regional.zh.js" type="text/javascript"></script>
<script type="text/javascript">
    
    
     

    $(function () {
       // loadScriptsAfterDocumentReady();
       // invokeLazyExecutedCallbacks();

        DWZ.init("dwz.frag.xml", {
            //		loginUrl:"loginsub.html", loginTitle:"登录",	// 弹出登录对话框
            loginUrl: "login.html", // 跳到登录页面
            statusCode: { ok: 200, error: 300, timeout: 301 }, //【可选】
            pageInfo: { pageNum: "pageNum", numPerPage: "numPerPage", orderField: "orderField", orderDirection: "orderDirection" }, //【可选】
            debug: false, // 调试模式 【true|false】
            callback: function () {              
                initEnv();                
                $("#themeList").theme({ themeBase: "themes" });
                <%if(GetMySettingValue("AutoHideMenu")=="checked") {%>
                setTimeout(function(){
                  $("#sidebar").find(".toggleCollapse").find("div").trigger("click");
                },100);
                <%} %>
            }
        });
        
        
      

      //
      
    });
    //一个月回访警报自动弹出
    function AlarmList(){
        var dialog = $("body").data("default_AlarmList");
        if(dialog) {
            return false;
        }
        $.ajax({
            type: 'get',
            url: 'usermodel/AlarmList.aspx?ajaxmethod=checkalarm',
            dataType: "text",
            async: true,
            success: function (json) {
                if(json=="1")
                {                         
                    $.pdialog.open("usermodel/AlarmList.aspx", "default_AlarmList", "一个月回访警报", { width: '750', height: '500', mask: false, maxable: false, minable: true, resizable: 'false', drawable: 'false', fresh: 'false' });
                }
            }
        })
    }
    //旧件还返警报自动弹出
    function AlermUClaimDemageList(){
         var dialog = $("body").data("default_AlermUClaimDemageList");
            if(dialog) {
                return false;
            }
        $.ajax({
            type: 'get',
            url: 'usermodel/AlermUClaimDemageList.aspx?ajaxmethod=checkalarm',
            dataType: "text",
            async: true,
            success: function (json) {
                if(json=="1")
                {                         
                    $.pdialog.open("usermodel/AlermUClaimDemageList.aspx", "default_AlermUClaimDemageList", "旧件还返警报", { width: '750', height: '500', mask: false, maxable: false, minable: true, resizable: 'false', drawable: 'true', fresh: 'false' });
                }
            }
        })
    }
   
   
     /*打印功能*/
     /*ID指定是要打印内容的ID,一般为DIV.格式以_doprint_ */
    function doPrint(ID) {
        var str = "<html>";
        var article;
        var css;
        var strAdBegin = "<!--NEWSZW_HZH_BEGIN-->";
        var strAdEnd = "<!--NEWSZW_HZH_END-->";
        var strFontSize = '【<A href="javascript:doZoom(16)">大</A> <A href="javascript:doZoom(14)">中</A> <A href="javascript:doZoom(12)">小</A>】'
        var strdoPrint = "doPrint()";
        var bg = "bgcolor=#EDF0F5";
        var strTmp;

        css = "<style>"
	        + "th,td,p,li,input,select {FONT-SIZE: 9pt; FONT-STYLE: normal; FONT-WEIGHT: normal;background-color:#FFFFFF;}BODY {FONT-SIZE: 9pt; FONT-STYLE: normal; FONT-WEIGHT: normal; LINE-HEIGHT: 20pt; TEXT-DECORATION: none}"
 
        +".preview{width:95%; margin:0 auto;}"
        +".preview_top{width:100%;}"
        +".preview_title{width:100%; text-align:left; padding:5px 0; border-bottom:1px dashed #ccc;}"
        +".preview_title span{color:red;}"
        +"td{ background-color:#fff; text-align:left; padding-left:3px; line-height:20px;}"
        +"b{color:#003278}"
        +"td.bt{text-align:center; height:30px;}"
        +"th{ background-color:#f5faff; text-align:center; line-height:25px;font-weight:normal;}"
        +".photo{width:90px; margin:5px 0 5px 3px; height:110px; background:url(../images/photo.jpg) no-repeat;}"
        + ".preview_bottom{width:95%; padding:20px 0px; text-align:center;}"
        + ".preview_bottom .btn{width:117px;height:29px;background:url(../images/admin_btn01.jpg) no-repeat 0 0;border:none;color:#fff;cursor:pointer;font-weight:bold; margin:0 10px; font-size:14px;}"
        + "</style>";

        str += css;
        str += '<meta http-equiv="content-type" content="text/html; charset=gb2312">';
        str += "<body bgcolor=#ffffff topmargin=0 leftmargin=5 marginheight=5 marginwidth=5 onLoad='window.print()'>";
        // str += "<div style=\"width:95%;text-align:right;\"><a href='javascript:history.back()'>返回</a>　<a href='javascript:window.print()'>打印</a></div>";
        str += "<center><table width='95%'  border=0 cellpadding=0 cellspacing=0><tr><td>";

        $("#_doprint_" + ID).find(".pageFormContent").css("overflow", "").css("height", "");

        article = document.getElementById("_doprint_" + ID).innerHTML;
        if (article.indexOf(strAdBegin) != -1) {
            str += article.substr(0, article.indexOf(strAdBegin));
            strTmp = article.substr(article.indexOf(strAdEnd) + strAdEnd.length, article.length);
        }
        else {
            strTmp = article;
        }
        strTmp = article;

        strTmp = strTmp.replace("overflow", "");
           
        str += strTmp
      
        str += "</td></tr></table>";
        str += "";/*可加上版权说明*/
        str += "</center></body></html>";

        remote = window.open('');
        remote.document.open();
        remote.document.write(str);
        remote.document.close();
        remote.focus();
    }
    var sW = 800;
    var sH = 600;
    $(document).ready(function(){    
       sW = $(window).width()-$("#sidebar").outerWidth();
       sH = $(window).height();
    })
</script>

<%--IE6 判断--%>
<style type="text/css">
    #ie6-warning{
    background:rgb(255,255,225) url("http://www.veryhuo.com/uploads/common/images/warning.gif") no-repeat scroll 3px center;
    position:absolute;
    top:0;
    left:0;
    font-size:12px;
    color:#333;
    width:100%;
    padding: 2px 15px 2px 23px;
    text-align:center; line-height:25px;
    }
    #ie6-warning a {
    color:Red;  cursor:pointer;
    }
    #ie6-warning ie6 {
     color:Red; font-weight:bold;
    }
</style>
<!--[if lte IE 6]>
<div id="ie6-warning">
    您正在使用 <b class='ie6'>Internet Explorer 6</b>，这将会影响您使用本系统的速度.建议您升级到 
    <a href="http://www.baidu.com/s?wd=ie8%E4%B8%AD%E6%96%87%E7%89%88%E5%AE%98%E6%96%B9%E4%B8%8B%E8%BD%BD+xp&rsv_spt=1&issp=1&rsv_bp=0&ie=utf-8&tn=baiduhome_pg&oq=ie8&rsp=1&f=3&inputT=3159" target="_blank">Internet Explorer 8</a> 
    或以下浏览器： <a href="http://www.baidu.com/s?tn=baiduhome_pg&ie=utf-8&bs=ie8%E4%B8%AD%E6%96%87%E7%89%88%E5%AE%98%E6%96%B9%E4%B8%8B%E8%BD%BD+xp&f=3&rsv_bp=1&rsv_spt=1&wd=firefox%E6%B5%8F%E8%A7%88%E5%99%A8%E4%B8%8B%E8%BD%BD&oq=fire&rsp=2&rsv_sug2=0&inputT=2668"  target="_blank">Firefox</a>
    &nbsp;&nbsp;&nbsp;&nbsp;
    <a sytle='float:right;' onclick="javascript:$(this).closest('div').hide()">关闭</a>    
</div>
<script type="text/javascript">
function position_fixed(el, eltop, elleft){
    // check if this is IE6
    if(!window.XMLHttpRequest)
    window.onscroll = function(){
    el.style.top = (document.documentElement.scrollTop + eltop)+"px";
    el.style.left = (document.documentElement.scrollLeft + elleft)+"px";
    }
    else el.style.position = "fixed";
}
position_fixed(document.getElementById("ie6-warning"),0, 0);
</script>
<![endif]-->
</body>

</html>